home *** CD-ROM | disk | FTP | other *** search
/ Champak 33 / Volume 33 - JOGO DISK .iso / Games / monster_sandwich.swf / scripts / DefineSprite_423 / frame_5 / DoAction.as
Text File  |  2007-01-15  |  456b  |  13 lines

  1. if(eval("/Vars:Arret") == false)
  2. {
  3.    set("/Vars:NbItem",eval("/Vars:NbItem") + 1);
  4.    set("/Vars:Food" + eval("/Vars:NbItem"),eval("/Vars:ItemActif"));
  5.    tellTarget("_root.Sand.Sand.M" + eval("/Vars:NbItem") + ".Food")
  6.    {
  7.       gotoAndStop(eval("/Vars:ItemActif"));
  8.    }
  9.    set("/Vars:Impact",int(eval("/Vars:NbItem") / eval("/Vars:ImpactRatio")));
  10.    set("/Pts:Pts",eval("/Pts:Pts") + eval("/Pts:ItemPts"));
  11. }
  12. _parent.gotoAndStop("Rien");
  13.